//
//  YYMusicModel.swift
//  STMusic
//
//  Created by stoneobs on 2017/6/15.
//  Copyright © 2017年 stoneobs. All rights reserved.
// //**********************所有资源模型***************************

import UIKit
enum YYMusicPlayCurrentResouceType {
    case suiyueIsPlaying //播放碎乐
    case yuyinIsPlaying  // 播放余音
    case customIsPlaying //播放自定义数据
}
class YYMusicModel: NSObject {

    //类型属于
    var type:YYMusicPlayCurrentResouceType? = YYMusicPlayCurrentResouceType.customIsPlaying;
    
    var resouceUrl:String? = "";//资源url地址
    
    var pathUrl:String? = "";//缓存url
    
    var belongToMusicList:YYMusicListModel? = YYMusicListModel();//所属歌单
    
    var id:String = "0";
    
    var total_during:NSNumber? = 60;
    
    var total_during_string:String? = "" //计算属性
    
    
    var imgUrl:String? = ""; //图片背景
    
    var songName:String? = ""; //歌曲名
    
    var songerName:String? = ""; //歌唱者
    
    
    var nameFirstIndex:String = "A";//每一首歌字母首字母检索
   
    
    
    
    
}
